﻿// ServiceModel.Silverlight.Tests.Web.ITestService.cs
// ----------------------------------------------------------------------------
// Licensed under the MIT license
// http://www.opensource.org/licenses/mit-license.html
// ----------------------------------------------------------------------------
// HighSpeed-Solutions, LLC
// Copyright (c) 2001-2010
// ----------------------------------------------------------------------------
// File:       ITestService.cs
// Author:     HSS\gbanta
// Created:    08/12/2010
// Modified:   12/04/2010
// ----------------------------------------------------------------------------
using System;
using System.ServiceModel;
using System.Collections.Generic;
namespace ServiceModel.Silverlight.Tests
{
	[ServiceContract(Namespace = "https://secure.highspeed-solutions.net/testing")]
	public interface ITestService
	{
		[OperationContract]
		void InvokeActionAsyncTest();

		[OperationContract]
		string InvokeFuncAsyncTest();

		[OperationContract]
		void InvokeActionWithErrorAsyncTest();

		[OperationContract]
		void InvokeTimeDelayed(int delaySeconds);

		[OperationContract]
		IEnumerable<Person> GetAllPeople();

		[OperationContract]
		bool UpdatePerson(Person person);

		[OperationContract]
		bool AddPeople(IEnumerable<Person> newPeople);

	}
}